home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / alaskan-adversary.swf / scripts / frame_150 / PlaceObject2_1621_344 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2008-09-11  |  8.1 KB  |  229 lines

  1. onClipEvent(enterFrame){
  2.    function ┬º\x01\x02┬º()
  3.    {
  4.       return 697 % 511 * 5;
  5.    }
  6.    var ┬º\x01┬º = -579 + "\x01\x02"();
  7.    while(true)
  8.    {
  9.       if(eval("\x01") == 351)
  10.       {
  11.          set("\x01",eval("\x01") + 50);
  12.          ┬º┬ºpush(true);
  13.       }
  14.       else if(eval("\x01") == 646)
  15.       {
  16.          set("\x01",eval("\x01") + 329);
  17.          var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  18.          {
  19.             return 697 % 511 * 5;
  20.          };
  21.       }
  22.       else if(eval("\x01") == 167)
  23.       {
  24.          set("\x01",eval("\x01") + 479);
  25.          ┬º┬ºpush("\x0f");
  26.          ┬º┬ºpush(1);
  27.       }
  28.       else if(eval("\x01") == 929)
  29.       {
  30.          set("\x01",eval("\x01") - 762);
  31.       }
  32.       else if(eval("\x01") == 975)
  33.       {
  34.          set("\x01",eval("\x01") - 920);
  35.          ┬º┬ºpush("\x0f");
  36.       }
  37.       else if(eval("\x01") == 401)
  38.       {
  39.          set("\x01",eval("\x01") - 219);
  40.          if(function ┬º\x01\x02┬º()
  41.          {
  42.             return 697 % 511 * 5;
  43.          })
  44.          {
  45.             set("\x01",eval("\x01") + 53);
  46.          }
  47.       }
  48.       else if(eval("\x01") == 235)
  49.       {
  50.          set("\x01",eval("\x01") - 68);
  51.       }
  52.       else if(eval("\x01") == 55)
  53.       {
  54.          set("\x01",eval("\x01") + 484);
  55.          ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  56.          {
  57.             return 697 % 511 * 5;
  58.          }));
  59.       }
  60.       else
  61.       {
  62.          if(eval("\x01") == 182)
  63.          {
  64.             set("\x01",eval("\x01") + 53);
  65.             while(┬º┬ºpop() <= eval(function ┬º\x01\x02┬º()
  66.             {
  67.                return 697 % 511 * 5;
  68.             }))
  69.             {
  70.                set(┬º┬ºconstant(25),eval("\x13`{invalid_utf8=169}M")[┬º┬ºconstant(10)][┬º┬ºconstant(25) + eval(┬º┬ºconstant(24))]);
  71.                if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval(┬º┬ºconstant(25))) && eval(┬º┬ºconstant(12)) == 1)
  72.                {
  73.                   set(┬º┬ºconstant(8),- eval(┬º┬ºconstant(26)));
  74.                   setProperty(┬º┬ºconstant(9), _Y, getProperty(┬º┬ºconstant(9), _Y) - 4);
  75.                   set(┬º┬ºconstant(12),0);
  76.                }
  77.                set(┬º┬ºconstant(24),eval(┬º┬ºconstant(24)) + 1);
  78.                ┬º┬ºpush(eval(┬º┬ºconstant(24)));
  79.                ┬º┬ºpush(┬º┬ºconstant(23));
  80.             }
  81.             set(┬º┬ºconstant(16),0);
  82.             set(┬º┬ºconstant(27),0);
  83.             if(!eval(┬º┬ºconstant(27)) && !eval(┬º┬ºconstant(13)) && !eval(┬º┬ºconstant(16)) && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 25 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 20 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval("\x13`{invalid_utf8=169}M")[┬º┬ºconstant(15)]))
  84.             {
  85.                if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 10 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 15)
  86.                {
  87.                   ┬º┬ºconstant(28)();
  88.                }
  89.                if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 10 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 15)
  90.                {
  91.                   set(┬º┬ºconstant(16),0);
  92.                }
  93.             }
  94.             break;
  95.          }
  96.          if(eval("\x01") == 539)
  97.          {
  98.             set("\x01",eval("\x01") - 245);
  99.             ┬º┬ºpush(!function ┬º\x01\x02┬º()
  100.             {
  101.                return 697 % 511 * 5;
  102.             });
  103.          }
  104.          else
  105.          {
  106.             if(eval("\x01") == 952)
  107.             {
  108.                set("\x01",eval("\x01") - 544);
  109.                if(_root.paus3)
  110.                {
  111.                   speed = 0;
  112.                   maxspeed = 0;
  113.                }
  114.                if(!_root.paus3)
  115.                {
  116.                   if(this.hitTest(_root.camera))
  117.                   {
  118.                      speed = 0;
  119.                      maxspeed = 10;
  120.                      damage = 0;
  121.                      grav++;
  122.                      _Y = _Y + grav;
  123.                      while(_root.ground.hitTest(_X,_Y,true))
  124.                      {
  125.                         _Y--;
  126.                         grav = 0;
  127.                      }
  128.                      if(_root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 2,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 6,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height,true))
  129.                      {
  130.                         _X = _X - speed;
  131.                      }
  132.                      if(_root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 2,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 6,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height,true))
  133.                      {
  134.                         _X = _X + speed;
  135.                      }
  136.                      moving = 0;
  137.                      above = 0;
  138.                      if(this._x < _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 15 && this._currentframe != 25 && this._currentframe != 10 && this.hitTest(_root.camera) && _root.char._currentframe != 45)
  139.                      {
  140.                         this._x += movespeed;
  141.                         _xscale = scale;
  142.                         this.gotoAndStop("run");
  143.                         attack = 0;
  144.                         moving = 1;
  145.                      }
  146.                      else if(this._x > _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 15 && this.hitTest(_root.camera) && _root.char._currentframe != 45 && this._currentframe != 35 && this._currentframe != 10)
  147.                      {
  148.                         this._x -= movespeed;
  149.                         _xscale = - scale;
  150.                         this.gotoAndStop("run");
  151.                         attack = 0;
  152.                         moving = 1;
  153.                      }
  154.                      if(_root.char._currentframe == 45)
  155.                      {
  156.                         this.gotoAndStop("idle");
  157.                         moving = 0;
  158.                      }
  159.                      if(!moving && this._currentframe != 5)
  160.                      {
  161.                         moving = 0;
  162.                      }
  163.                      if(this._currentframe == 35)
  164.                      {
  165.                         this._x += movespeed;
  166.                      }
  167.                      jumpHits = 9;
  168.                      i = 1;
  169.                      while(i <= jumpHits)
  170.                      {
  171.                         jumpHit = _root.ground["jumpHit" + i];
  172.                         if(this.hitTest(jumpHit) && moving == 1)
  173.                         {
  174.                            grav = - jumpHeight;
  175.                            _Y = _Y - 4;
  176.                            moving = 0;
  177.                         }
  178.                         i++;
  179.                      }
  180.                      attack = 0;
  181.                      jumping = 0;
  182.                      if(this._currentframe != 15 && this.hitTest(_root.char))
  183.                      {
  184.                         if(this._currentframe != 10 && this._currentframe != 15)
  185.                         {
  186.                            this.gotoAndStop("attack_1");
  187.                         }
  188.                         if(this._currentframe != 10 && this._currentframe != 15)
  189.                         {
  190.                            attack = 0;
  191.                         }
  192.                      }
  193.                      if(this.hitTest(_root.fall))
  194.                      {
  195.                         this.gotoAndStop("death");
  196.                         _global.kills += 1;
  197.                      }
  198.                   }
  199.                }
  200.                break;
  201.             }
  202.             if(eval("\x01") == 294)
  203.             {
  204.                set("\x01",eval("\x01") + 291);
  205.                if(function ┬º\x01\x02┬º()
  206.                {
  207.                   return 697 % 511 * 5;
  208.                })
  209.                {
  210.                   set("\x01",eval("\x01") + 367);
  211.                }
  212.             }
  213.             else
  214.             {
  215.                if(eval("\x01") != 585)
  216.                {
  217.                   if(eval("\x01") == 408)
  218.                   {
  219.                      set("\x01",eval("\x01") - 408);
  220.                   }
  221.                   break;
  222.                }
  223.                set("\x01",eval("\x01") + 367);
  224.             }
  225.          }
  226.       }
  227.    }
  228. }
  229.